package com.gdglc.spring.biz.auth;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.y2.authprj.bean.auth.model.RoleauthorityInfo;
import com.y2.authprj.bean.auth.vo.ShowRoleByMulitTableVo;

public interface IRoleAuthorityBiz {
	List<RoleauthorityInfo> findAllRoleAuthority();
	int addRoleAuthority(RoleauthorityInfo roleauthorityInfo);
	int updateRoleAuthority(RoleauthorityInfo roleauthorityInfo);
	int deleteRoleAuthority(int RoleAuthorityId);
	List<ShowRoleByMulitTableVo> findRoleAuthorityByMultiTable();
	int deleteRoleAuthorityByRoleId(int RoleId);
	RoleauthorityInfo findRoleAuthorityByRoleIdAndFunId(@Param("roleId") int roleId,@Param("funId") int funId);
}
